package com.lsa.letcode.the118.pascalTriangle;

import static org.junit.Assert.*;

import java.util.Arrays;

import org.junit.Test;

import com.lsa.letcode.common.LetCodeTestBase;

public class PascalTriangleTest extends LetCodeTestBase {
	@Test
	public void test() throws Exception {
		Solution s = new Solution();
		assertEquals(
				Arrays.asList(Arrays.asList(1), Arrays.asList(1, 1),
						Arrays.asList(1, 2, 1), Arrays.asList(1, 3, 3, 1),
						Arrays.asList(1, 4, 6, 4, 1),
						Arrays.asList(1, 5, 10, 10, 5, 1)), s.generate(6));
	}
}
